Auto merge of #2219 - matklad:encodable-audit, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 17 Dec 2015 23:08:10 +0000 (23:08 +0000)
committerbors <bors@rust-lang.org>
Thu, 17 Dec 2015 23:08:10 +0000 (23:08 +0000)
commit3775b3f0e55d55fea21ec6c1ffbf77b74a8b916f
tree7f69342336cdadfd32d018c4c472b93cbae1584b
parent2cdeb0797a5d60b6a1d5e98e18c456bde8128bb7
parent77e72735cf9f05592ef055cc8348813ce9e59cd0
Auto merge of #2219 - matklad:encodable-audit, r=alexcrichton

@alexcrichton another preparation PR for #2196

I've removed obscure `metadata` field from `Target`. It is a breaking change (for read-manifest), but the field seemed cryptic, useless and untested :)

`Target` has a bunch of boolean fields:

```
    tested: bool,
    benched: bool,
    doc: bool,
    doctest: bool,
    harness: bool, // whether to use the test harness (--test)
    for_host: bool,
```

I guess they should not be included in serialized representation?

I will push commits for other `Encodable`s here.